package com.ebuy.shopping.model;

public class Category
{
    private Integer id;

    private String name;

    private Integer parentId;

    private Integer showSort;

    private Integer showIndex;

    private Integer grade;

    public Integer getGrade()
    {
        return grade;
    }

    public void setGrade(Integer grade)
    {
        this.grade = grade;
    }

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name == null ? null : name.trim();
    }

    public Integer getParentId()
    {
        return parentId;
    }

    public void setParentId(Integer parentId)
    {
        this.parentId = parentId;
    }

    public Integer getShowSort()
    {
        return showSort;
    }

    public void setShowSort(Integer showSort)
    {
        this.showSort = showSort;
    }

    public Integer getShowIndex()
    {
        return showIndex;
    }

    public void setShowIndex(Integer showIndex)
    {
        this.showIndex = showIndex;
    }

}